package com.zzl.bonds.ticket.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 电子合同表
 *
 * @author gull
 * @date 2022-07-06 13:43:52
 */
@Data
@ApidocModel
@SuppressWarnings("javadoc")
public class BusinessContractAddDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApidocModelProperty(description = "业务数据表主键")
    private String businessId;
    @ApidocModelProperty(description = "业务类型，1凭证开具，2凭证签收，3转让，4转让签收，5融资")
    private Integer businessType;
    @ApidocModelProperty(description = "电子合同id")
    private String contractId;
    @ApidocModelProperty(description = "文件名称")
    private String contractName;
    @ApidocModelProperty(description = "合同编号")
    private String contractNo;
    @ApidocModelProperty(description = "合同状态：未完成0 已完成1 已拒绝2 正在签署3 锁定待签4 已过期9")
    private Integer contractStatus;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "创建时间", validate = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "修改时间", validate = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    @ApidocModelProperty(description = "创建人")
    private Integer creatorId;
    @ApidocModelProperty(description = "1 表示删除，0 表示未删除")
    private Integer deletedStatus;
    @ApidocModelProperty(description = "企业id/通讯录的 企业id")
    private Integer enterpriseId;

}
